> > This is not correct since XHTML is not related to XWiki syntax 1.0 or > 2.0. > If you define a page as using XHTML 1.0 syntax then this won't > work. >
I think I just noted a bigger problem. The Office->xhtml imported pages are defined as using xwiki 1.0 syntax. That's why it was working. I think we can get rid of several other filters simply by marking such page as using xhtml 1.0. Although I wonder why it was marked as xwiki 1.0 syntax, it has only complicated things. > > > Because > > image links such as <img src="foo.jpg"/> which results from Office- > > >Html > > conversion doesn't mean anything on a wiki page. > > Right and they should be converted to the following (that's what I was > telling you yesterday): > > <p><!--startimage:foo.jpg--><img src="/xwiki/bin/download/currentdoc/ > foo.jpg"/><!--stopimage--> > > This will work in XHTML 1.0 syntax. > > > So, what we do is, > > > > 1. Attach foo.jpg into the current document as an attachment. > > > > 2. Replace the <img> tag with quivalent wiki syntax to make it work. > > > > An alternative would be to keep the <img> tag as it is and change > > the src > > attribute to the url of the image attachment. > > Yes this is the right way, see above. > Right, fixit it now. Thanks. - Asiri > > Thanks > -Vincent > > _______________________________________________ > devs mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/devs > _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

