Search the web
Sign In
New User? Sign Up
xrules · XRules & DynamicDOM
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
How can find an element by XRULE   Message List  
Reply | Forward Message #52 of 74 |
Hi,

I have this XML file :
...
<Part>
<ID>1</ID>
<FLN ID="F051601001">ÂÓãÇä ÂÈ&#1740;</FLN>
<FLN ID="F051601002">3400</FLN>
<FLN ID="F051601003">40</FLN>
</Part>
<Part>
<ID>2</ID>
<FLN ID="F051601004" >
<CFLN ID="1">10</CFLN>
<CFLN ID="2">2</CFLN>
<CFLN ID="3">4</CFLN>
<Total></Total>
</FLN>
</Part>
<Part>
<ID>3</ID>
<FLN ID="F051601005">3400</FLN>
<FLN ID="F051601006">40</FLN>
<FLN ID="F051601007" >
<CFLN ID="1">10</CFLN>
<CFLN ID="2">2</CFLN>
<CFLN ID="3">4</CFLN>
<Total></Total>
</FLN>
</Part>
<Part>
<ID>4</ID>
<FLN ID="F051601008" >
<CFLN ID="1">10</CFLN>
<CFLN ID="2">2</CFLN>
<Total></Total>
</FLN>
</Part>

I want use XRule calculator for calculate sum of CFLN and set into
Total tag. I want to know how can use XRule for calculate sum with
loop not direct address. does XRule have a function for check an xml
element has a specific child like Total and if it has then calculate
it.

Where can I found XRule function like iif,position or ...?

Best regards




Sat Jan 13, 2007 10:56 pm

radobject
Offline Offline
Send Email Send Email

Forward
Message #52 of 74 |
Expand Messages Author Sort by Date

Hi, I have this XML file : ... <Part> <ID>1</ID> <FLN ID="F051601001">ÂÓãÇä ÂÈ</FLN> <FLN ID="F051601002">3400</FLN> <FLN ID="F051601003">40</FLN> ...
radobject
Offline Send Email
Jan 14, 2007
3:27 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help