[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Selecting unparsed text from inside a tag

Subject: Re: Selecting unparsed text from inside a tag
From: "Jefferson Thomas" <foramuyou@xxxxxxxxx>
Date: Wed, 26 Mar 2008 14:06:31 +0900
Re:  Selecting unparsed text from inside a tag
Thank you. The xsl:copy-of is exactly what I was looking for. It
returns the all text and the subnodes.
I should have mentioned that what Im doing is extracting HTML
documentation from the Schema files.

Thank you all,
Thomas

2008/3/25, Michael Kay <mike@xxxxxxxxxxxx>:
> > I would like to know if there is a way to select everything
>  > that is inside a tag without parsing it and put it to the
>  > output, so that if there are other tags (like <br/> or
>  > <html>) inside our tag then they will also come up.
>
>
> The input to an XSLT processor is a tree of nodes. The XSLT processor never
>  sees lexical XML tags in an unparsed state; the parsing of the XML and
>  construction of the tree is complete (conceptually, at least) before the
>  XSLT processor gets to see it. The XSLT processor only sees nodes.
>
>  Your questions suggests that you are doing xsl:value-of where you should be
>  doing xsl:copy-of or xsl:apply-templates.
>
>
>  Michael Kay
>  http://www.saxonica.com/

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.