You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Vance Karimi <pe...@yahoo.com.au> on 2006/05/17 16:42:16 UTC
Doxia XdocParser?
Hi,
I've changed the velocity site template for some sites changes, but I'm at a
loss on how to solve the following.
The site format is xdoc. I would like to do something like:
<?xml version="1.0" encoding="iso-8859-1"?>
<document>
<properties>
<author email="abc@x.y">abc</author>
<title>ABC</title>
</properties>
<body>
<section name="ABC">
<p>
<ul>
<li class="x">test</li>
<li class="y">test</li>
</ul>
</p>
</section>
</body>
</document>
Where author has a property named 'email' and list items have a property
named 'class'.
I'm looking at XdocParser and XdocSink in
org.apache.maven.doxia.module.xdoc. Is there a way for me to replace the
xdoc implementations of parser and sink with my own and use these with the
site plugin or do I need to make the changes to the existing ones and
rebuild doxia?
Thanks
Vance
Send instant messages to your online friends http://au.messenger.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
RE: Doxia XdocParser?
Posted by Vance Karimi <pe...@yahoo.com.au>.
This is related to JIRA issue http://jira.codehaus.org/browse/MNG-545
> -----Original Message-----
> From: Vance Karimi [mailto:persabi2@yahoo.com.au]
> Sent: Wednesday, 17 May 2006 10:42 PM
> To: users@maven.apache.org
> Subject: Doxia XdocParser?
>
> Hi,
>
> I've changed the velocity site template for some sites changes, but I'm at
> a
> loss on how to solve the following.
>
> The site format is xdoc. I would like to do something like:
>
> <?xml version="1.0" encoding="iso-8859-1"?>
> <document>
> <properties>
> <author email="abc@x.y">abc</author>
> <title>ABC</title>
> </properties>
> <body>
> <section name="ABC">
> <p>
> <ul>
> <li class="x">test</li>
> <li class="y">test</li>
> </ul>
> </p>
> </section>
> </body>
> </document>
>
> Where author has a property named 'email' and list items have a property
> named 'class'.
>
> I'm looking at XdocParser and XdocSink in
> org.apache.maven.doxia.module.xdoc. Is there a way for me to replace the
> xdoc implementations of parser and sink with my own and use these with the
> site plugin or do I need to make the changes to the existing ones and
> rebuild doxia?
>
> Thanks
> Vance
>
>
> Send instant messages to your online friends http://au.messenger.yahoo.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
Send instant messages to your online friends http://au.messenger.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org