namazu-users-en
[Top] [All Lists]

[Namazu-users-en] Re: Indexing XSL files?

2007-10-21 18:19:29
Stephane Bortzmeyer wrote:

Please show the head of the file.

% head -n 10 common-latex.xsl
<?xml version='1.0' encoding="iso-8859-1"?>
<!DOCTYPE stylesheet [
<!ENTITY newln "&#xA;">
]>
<!-- TODO: produce LaTeX (for PDF and printing) -->
<!-- TODO: escape characters like the $ which are special for LaTeX -->
<!-- TODO: escape sequences like &#339; because the & is special for LaTeX -->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
  xmlns:str="http://exslt.org/strings";
  xmlns:tolatex="http://www.bortzmeyer.org/xmlns/tolatex";

... It was too short. 

<!-- TODO: produce LaTeX (for PDF and printing) -->
<!-- TODO: escape characters like the $ which are special for LaTeX -->
<!-- TODO: escape sequences like &#339; because the & is special for LaTeX -->

It sees it like the XML file that relates to LaTex. 

As you see, not LaTeX or TeX, despite its name. Pure XML.

The content misunderstood in the text as LaTex might be included though
it is pure XML. 

# Though it was not possible to confirm by the head command. 

Namazu doesn't support XML. 
The XML file cannot be recognized with standard Namazu. 
 
Please change the file name of the file and try.
The result must be equal.

Indeed:

1/1 - /home/stephane/Blog/schemas/common-something.xsl Unsupported media type 
(application/x-tex) skipped.

The result is the same regardless of the filename. (application/x-tex)
It was able to be confirmed not to judge the media-type from the 
filename. 

It is likely not to stand in the post even if XSL is processed as
"text/plain".  If it wants to correspond to XSL, it is necessary to
make the XSL filter.

A regular XML filter would be enough for me. How to tell Namazu to use
it?

Namazu doesn't support XML. 
If it wants to correspond to XSL, it is necessary to make the XSL 
filter.
# You should make the XML filter.
-- 
=====================================================================
TADAMASA TERANISHI  yw3t-trns(_at_)asahi-net(_dot_)or(_dot_)jp
http://www.asahi-net.or.jp/~yw3t-trns/index.htm
Key fingerprint =  474E 4D93 8E97 11F6 662D  8A42 17F5 52F4 10E7 D14E

_______________________________________________
Namazu-users-en mailing list
Namazu-users-en(_at_)namazu(_dot_)org
http://www.namazu.org/cgi-bin/mailman/listinfo/namazu-users-en

<Prev in Thread] Current Thread [Next in Thread>