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

RE: Copying unparsed entity using XSL

Subject: RE: Copying unparsed entity using XSL
From: Bovone Stefano <Stefano.Bovone@xxxxxxxx>
Date: Fri, 12 Nov 1999 08:21:57 +0100
entity in xsl
Yes, I have to reference the Entity into an attribute.

But my problem is to have a trasformation that an XML output with DCOTYPE
and the Entity: something like this

<xml version="1.0"?>
<DOCTYPE Start SYSTEM "doc.dtd" [
<!ENTITY pcl0001 SYSTEM "pcl0001.pcl" NDATA BINARY>
]>

<Start>
    <Ref ent="pcl0001"/>
</Start>

I want to pass from my xml document to the document I have write up using
only XSLT.
How can I manage Entity declaration ?

Thanks
Bye.

> ----------
> From: 	Richard Lander[SMTP:rlander@xxxxxxxxxxxxxxxxxxx]
> Reply To: 	xsl-list@xxxxxxxxxxxxxxxx
> Sent: 	giovedì 11 novembre 1999 18.28
> To: 	xsl-list@xxxxxxxxxxxxxxxx
> Subject: 	RE: Copying unparsed entity using XSL 
> 
>  Hello,
> 
> I'm not sure of the second step, but the first one is likely:
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE Job SYSTEM "doc.dtd" [
> <!ENTITY pcl0001 SYSTEM "pcl0001.pcl" NDATA BINARY>
> <!ATTLIST Print file ENTITY #REQUIRED>
> ]>
> 
> <Job>
>    <Print file="pcl0001"/>
> </Job>
> 
> Richard.
> 
> 
> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxx]On Behalf Of Bovone Stefano
> Sent: Thursday, November 11, 1999 10:09 AM
> To: 'XSL-List@xxxxxxxxxxxxxxxx'
> Subject: Copying unparsed entity using XSL 
> 
> 
> I have a xml document like this:
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE Job SYSTEM "doc.dtd" [
> <!ENTITY pcl0001 SYSTEM "pcl0001.pcl" NDATA BINARY>
> ]>
> 
> <Job>
>    <Print/>
> </Job>
> 
> I would like to obtain the identity trasformation using something like:
> 
> <xsl:template match="@* | node()">
>  <xsl:copy>
>   <xsl:apply-templates select="@* | node()"/>
>  </xsl:copy>
> </xsl:template>
> 
> but I want that the Entity:
> 
> <!ENTITY pcl0001 SYSTEM "pcl0001.pcl" NDATA BINARY>
> 
> is in the output file.
> 
> Is this possible using XSLT (and XT or LotusXSL or ..) ?
> 
> Thanks in advance.
> 
> Bye.
> 
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.