Re: XSL Question

2005-11-22 Thread Mike Ferrando
Glen M.,
Could you post some of your XML source document (maybe a bigger
chunk).

Could you then give us an example of what the output is supposed to
look like if everything went perfectly?

Thanks,
Mike Ferrando
Library Technician
Library of Congress
Washington, DC
202-707-4454

--- Glen Mazza [EMAIL PROTECTED] wrote:

 http://www-128.ibm.com/developerworks/library/x-xslfo2app/#b?
 
 Read the Notice that the select attribute... blurb at the end of
 the 
 b discussion here.
 
 Glen
 
 Dirk Bromberg wrote:
  Hi,
  
  i've a short xml-xsl-fo question.
  
  my xml is:
  
  textHere is some textB with bold B/Iand italicI/BI
 and 
  bothI/B/ elements in it.text/
  
  when i've a template for text, B and I how can i get the
 real text 
  in the right order?
  
 

-
 To unsubscribe, e-mail:
 [EMAIL PROTECTED]
 For additional commands, e-mail:
 [EMAIL PROTECTED]
 
 





__ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: XSL Question

2005-11-22 Thread Mike Ferrando
Glen M.,
Sorry.

Mike Ferrando
Library Technician
Library of Congress
Washington, DC
202-707-4454

--- Glen Mazza [EMAIL PROTECTED] wrote:

 Mike Ferrando wrote:
 
  Glen M.,
  Could you post some of your XML source document (maybe a bigger
  chunk).
  
 
 I'm not the one who asked the question.  I don't have any source 
 document to provide.
 
 Glen
 

-
 To unsubscribe, e-mail:
 [EMAIL PROTECTED]
 For additional commands, e-mail:
 [EMAIL PROTECTED]
 
 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: XSL Question

2005-11-21 Thread Glen Mazza

http://www-128.ibm.com/developerworks/library/x-xslfo2app/#b?

Read the Notice that the select attribute... blurb at the end of the 
b discussion here.


Glen

Dirk Bromberg wrote:

Hi,

i've a short xml-xsl-fo question.

my xml is:

textHere is some textB with bold B/Iand italicI/BI and 
bothI/B/ elements in it.text/


when i've a template for text, B and I how can i get the real text 
in the right order?




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: XSL Question

2005-11-21 Thread Dirk Bromberg

Hey,

thanks Glen.

The trick is to select the text() or *  :-)

Dirk


Glen Mazza wrote:

http://www-128.ibm.com/developerworks/library/x-xslfo2app/#b?

Read the Notice that the select attribute... blurb at the end of the 
b discussion here.


Glen

Dirk Bromberg wrote:

Hi,

i've a short xml-xsl-fo question.

my xml is:

textHere is some textB with bold B/Iand italicI/BI and 
bothI/B/ elements in it.text/


when i've a template for text, B and I how can i get the real 
text in the right order?




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: XSL Question

2005-11-21 Thread Andreas L Delmelle

On Nov 21, 2005, at 21:30, Dirk Bromberg wrote:


Hey,

thanks Glen.

The trick is to select the text() or *  :-)


FYI: Everything you have posted was 100% correct (apart from the  
typos ;-))


All XSLT processors I tried this on simply do what they're supposed to.
xsl:apply-templates / processes the nodes in the order they are  
encountered in (= document-order) unless explicitly asked to do  
otherwise.


Cheers,

Andreas


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



XSL Question - Unique list

2005-08-31 Thread Prakash R
I have an xml document which looks like this:

products
product
nameshirt/name
metadata fieldid=1
fieldvaluelong sleeve/fieldvalue
metadata fieldid=2
fieldvaluered/fieldvalue
metadata fieldid=3
fieldvalueRG/fieldvalue
/metadata
metadata fieldid=3
fieldvalueLN/fieldvalue
/metadata
/metadata
/metadata
metadata fieldid=1
fieldvalueshort sleeve/fieldvalue
metadata fieldid=2
fieldvalueblue/fieldvalue
metadata fieldid=3
fieldvalueRG/fieldvalue
/metadata
metadata fieldid=3
fieldvalueSM/fieldvalue
/metadata
/metadata
/metadata
metadata fieldid=1
fieldvaluesleeveless/fieldvalue
metadata fieldid=2
fieldvaluered/fieldvalue
metadata fieldid=3
fieldvalueLN/fieldvalue
/metadata
metadata fieldid=3
fieldvalueSM/fieldvalue
/metadata
/metadata
/metadata
/product
product
namet-shirt/name
metadata fieldid=1
fieldvaluelong sleeve/fieldvalue
metadata fieldid=2
fieldvaluered/fieldvalue
metadata fieldid=3
fieldvalueAA/fieldvalue
/metadata
metadata fieldid=3
fieldvalueBB/fieldvalue
/metadata
/metadata
/metadata
metadata fieldid=1
fieldvalueshort sleeve/fieldvalue
metadata fieldid=2
fieldvalueblue/fieldvalue
metadata fieldid=3
fieldvalueCC/fieldvalue
/metadata
metadata fieldid=3
fieldvalueDD/fieldvalue
/metadata
/metadata
/metadata
metadata fieldid=1
fieldvaluesleeveless/fieldvalue
metadata fieldid=2
fieldvaluered/fieldvalue
metadata fieldid=3
fieldvalueAA/fieldvalue
/metadata
metadata fieldid=3
fieldvalueEE/fieldvalue
/metadata
/metadata
/metadata
/product
/products

Is there any way using XSL I can get the unique
[EMAIL PROTECTED]/fieldvalues for each product. I
know I can do it across the entire XML doc. In this
example for product(name=shirt) it would be RG,LN and
SM , product(name=t-shirt) it would be AA,BB,CC,DD,EE.
I want to be able to get these separately for each
product and iterate through it within the product if
possible.

Thank you.
Prakash

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]