RE: Adding XML process-instruction to tml

2009-11-09 Thread Alfie Kirkpatrick
Doh! I was thinking this would not be possible because the component
needs to come before the root element, but of course I can just wrap the
whole document in the new component...

Alfie.

-Original Message-
From: Howard Lewis Ship [mailto:hls...@gmail.com] 
Sent: 08 November 2009 15:55
To: Tapestry users
Subject: Re: Adding XML process-instruction to tml

A component could do this, by outputting the ?xml-stylesheet tag
using markupWriter.writeRaw().


On Sun, Nov 8, 2009 at 4:04 AM, Alfie Kirkpatrick
alfie.kirkpatr...@ioko.com wrote:
 Hi, I would like to add a PI for xml-stylesheet to some of my pure XML
 pages, eg. in the tml...



 ?xml version=1.0 encoding=UTF-8?

 ?xml-stylesheet type=text/xsl href=/aggregator/stylesheet.xsl?

 rdf:RDF ...



 Tapestry (5.1.0.5) complains that PROCESSING_INSTRUCTION is
 unrecognised.



 Is there a simple workaround for this?



 Thanks, Alfie.







-- 
Howard M. Lewis Ship

Creator of Apache Tapestry

The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!

(971) 678-5210
http://howardlewisship.com


-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Adding XML process-instruction to tml

2009-11-08 Thread Alfie Kirkpatrick
Hi, I would like to add a PI for xml-stylesheet to some of my pure XML
pages, eg. in the tml...

 

?xml version=1.0 encoding=UTF-8?

?xml-stylesheet type=text/xsl href=/aggregator/stylesheet.xsl?

rdf:RDF ...

 

Tapestry (5.1.0.5) complains that PROCESSING_INSTRUCTION is
unrecognised.

 

Is there a simple workaround for this? 

 

Thanks, Alfie.

 



Re: Adding XML process-instruction to tml

2009-11-08 Thread Howard Lewis Ship
A component could do this, by outputting the ?xml-stylesheet tag
using markupWriter.writeRaw().


On Sun, Nov 8, 2009 at 4:04 AM, Alfie Kirkpatrick
alfie.kirkpatr...@ioko.com wrote:
 Hi, I would like to add a PI for xml-stylesheet to some of my pure XML
 pages, eg. in the tml...



 ?xml version=1.0 encoding=UTF-8?

 ?xml-stylesheet type=text/xsl href=/aggregator/stylesheet.xsl?

 rdf:RDF ...



 Tapestry (5.1.0.5) complains that PROCESSING_INSTRUCTION is
 unrecognised.



 Is there a simple workaround for this?



 Thanks, Alfie.







-- 
Howard M. Lewis Ship

Creator of Apache Tapestry

The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!

(971) 678-5210
http://howardlewisship.com

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org