XML assign style for numbered and bullet lists

Hi,
This is kinda a continuation from my previous thread. I understand that XSLT has to be used to transform the previous elements to be able to use ID paragraph styles. I would think the same would have to be acoomplished for lists.
Is it possible with paragraph styles to generate the same results as a list in HTML? Or would I have to create individual paragraph styles for each nested list?
I hope I'm making sense.
Like:
<h5>Nested unordered list</h5>
<li1>bullet list</li1>
<li1>bullet list</li1>
<li2>bullet list</li2>
<li2>bullet list</li2>
<li3>bullet list</li3>
<li3>bullet list</li3>
<li4>bullet list</li4>
<li4>bullet list</li4>
Sample HTML:
<h5>Nested unordered list</h5>
<ul>
<li>bullet list</li>
<li>bullet list</li>
<ul>
<li>bullet list</li>
<li>bullet list</li>
<ul>
<li>bullet list</li>
<li>bullet list</li>
<ul>
<li>bullet list</li>
<li>bullet list</li>
</ul>
</ul>
</ul>
</ul>
<h5>Nested ordered list</h5>
<ol>
<li>ordered list</li>
<li>ordered list</li>
<ol type="a">
<li>ordered list</li>
<li>ordered list</li>
<ol type="i">
<li>ordered list</li>
<li>ordered list</li>
<ol type="A">
<li>ordered list</li>
<li>ordered list</li>
<ol type="I">
<li>ordered list</li>
<li>ordered list</li>
</ol>
</ol>
</ol>
</ol>

I think the best way is to create a new paragraph style for each nested level.
Example:
Create a new style for each sub level.
Text here
Text here
Sub level 1
Sub level 1
Thanks...

Similar Messages

  • Numbered List and Bulleted List w/ Custom Style Sheet

    Hi,
    I am a new user to RoboHelp 7, and must say I find it useful
    but also painful to use. Currently I’m trying to solve
    something that feels like a bug in RoboHelp 7, but before I give in
    and accept defeat I wanted to check with the forum.
    I have FrameMaker 8, and import the files to RH where I use
    them to create WebHelp projects.
    Here’s a short procedure:
    1. I Import my files with a predefined style sheet matching
    the FM styles.
    2. I also check the Convert to HTML list option and set all
    numbering and bullet styles to User defined.
    - After import RH does the usual thing and creates a bunch
    of style sheets on its own
    3. I select all the files from the Topic List pod and apply a
    new custom style sheet. This enables me to have one style sheet for
    all the HTML files with the right layout and formatting
    4. I generate the output, and RH uses the new style sheet
    reference
    The resulting HTML files shows that the output is not the
    same as the generated HTML shown in RH’s HTML editor view
    - Editor view: <li class=”style”>
    - Browser view: <li>
    6. If I make a change (e.g. add a space) and save the HTML
    file, and generate the project again the HTML is correct in the
    browser
    One could argue that it’s not a big problem; however,
    with a large project this is starting to look more like a nightmare
    Does anyone know of this problem, and if so can it be fixed?
    Kind regards,
    Jon

    Is this the time when I get really angry at Adobe for creating the worst FrameMaker/RoboHelp integration ever? No! However, I must admit that I'm amazed that they are unable to solve an important feature as conversion of lists from a FrameMaker document to a RoboHelp WebHelp project. When I say conversion I mean a clean conversion with minimal interference from RoboHelp that allows me to use CSS to its full extent.
    Here's the problem, and this was also the problem with RoboHelp 7 and FrameMaker 8. BTW, I use standalone versions (not TCS 1 or 2).
    Figures: First image depicts FrameMaker 9's Paragraph Designer and the Autonumber format for a paragraph named VizNumbered. Second image depicts the RoboHelp 8's conversion setting.
    FrameMaker uses Autonumbering in front of paragraphs to create lists. This means that you in RoboHelp need to manage two formats, the autonumber and the paragraph style.
    RoboHelp does of course not (by default) use Autonumbering in front of paragraphs because a RoboHelp WebHelp project is HTML based, and list tags in HTML can perfectly handle any formatting of text etc.
    RoboHelp will convert, when "Convert Autonumber to HTML List" is selected, the Autonumber in FrameMaker to a list tag (LI). By default this will generate a list with a lot of margin, font and other CSS properties that tries to simulate the way the list is laid out in the FrameMaker document. In addition to the list tags it will convert the FrameMaker paragraph to a P tag which it inserts within a list tag. The issue you will experience with this is that indentations with the paragraph tag does not align properly between line 1 and 2. At the same time the WebHelp project will not look the same in IE, Firefox or Chrome. That is, Chrome and Firefox will look the same, and IE different. IE has the WYSIWYG feel, but it does not comply well with W3C standards (i.e. using P tags enclosed by LI tags is not a good idea ...).
    Selecting "Convert Autonumber to RoboHelp List" does something similar, but is not recommended at all!
    So, here's the big question. How can I make sure RoboHelp understands that I ONLY need to define a list tag with a CSS class attribute attached to it?
    Today I basically only get the following:
    <li><p class=""></p></li> or,
    <p class=""></p>
    What I want is the following:
    <li class=""></li>
    Can this be solved with today's versions, can anyone help me, or do I have to wait for the Adobe development team to realize this and to fix it?

  • Configure Numbered and Bulleted Styles in CSS

    I have searched and read a lot of postings re:Numbered and Bulleted styles/lists in the CSS setup and still have no clue how this was changed in the most recent build of RoboHelp HTML or the correct way to apply and get to work.
    In X5 of RoboHelp HTML, I had a CSS style sheet with 5 paragraph styles with bullets. I did not create a list - I simply bulleted the style. When I apply one of these styles to a paragraph it adds a bullet.
    I upgraded to RoboHelp HTML X8.0.2.208 and my bulleted styles are a total mess. The styles are still in the CSS, but when applied there is no bullet - it adds a number (then I have to click the Bullet icon button on the toolbar to apply a bullet). I have tried to find release notes or some documentation explaining the change and can find none. I have reviewed Peter Grange's site information about lists and multilevel lists, but see no reason why I cannot just apply a bullet directly on a style without using the list or multilevel list.
    I guess the issue may be my stupidity on the configuration and use of lists and multilevel lists. Is there any documentation from Adobe that outlines the change that occurred as of this most recent build? I am looking for an explanation of how a list corresponds to a style and how to get the style to work correctly. Ironically, the online help has been no help at all.
    As always, thanks to any feedback or direction.
    Michael F Weart

    OK - sorry have not posted my solution and it works for me...
    This is what I did to create a single level bulleted style using bulleted list:
    (1) Create a MultiLevel List Style called BulletedList
    I have only defined Level 1 of the MultiLevel List
    For that Level 1 - I DID NOT specify a Paragraph Style
    For that Level 1 - I selected List Style of DISC
    For that Level 1 - I defined the Edit Style as <x>
    Saved this MultiLevel List style with a name of BulletedList
    (2) Created a Paragraph Style called NBullet
    Font is set to Arial 10pt
    Spacing/After is set to 6pt
    From Indents line - clicked the AutoNumber icon button
    This opens the List for Autonumbering dialog and I set the following:
    Checked the box for Inherit Numbering Property from Multilevel List
    Selected BulletedList from the List Class drop down
    Selected List Level as "1"
    Clicked OK to apply and return to Paragraph Style Setup dialog
    On Paragraph Style Setup dialog clicked the Format drop down button
    Selected Paragraph formatting
    Defined Left Indentation of .5in
    Defined Special Indentation of Hanging .25in
    (3) Clicked OK to save the Paragraph style called NBullet
    When I look at the drop down list of styles within a topic, the style name appears as "1 NBullet". Don't let the "1" fool you - when I apply that style the "disc" bullet is applied and NOT a number (it just displays a number in the style name for some reason that escapes me).
    I now have my bulleted style back and it works fine.
    NOTE:  I do not like to reformat anything, so I set up an NBullet (Spacing After set to 6pt), NBulletSpace (Spacing After set to 12pt) and NBulletLast (Spacing After set to 18pt).
    I also set up "bullet continuation" paragraph styles so I can lead with a bulleted line of text and then follow with "additional information" paragraph that aligns to the text in the bulleted lead paragraph line - that paragraph style is NBulletContinue defined with NO autonumber setup and the Format/Paragraph set to Indent/Left .75in (which aligns the text to the text of the bulleted paragraph).
    I set up the same paradigm of NBulletContinue, NBulletContinueSpace and NBulletContinueLast.
    =============
    Aside from the Style name appearing in the Style list when working in a topic as "1 NBullet", "1 NBulletSpace" and "1 NBulletLast" the formatting works and looks great (and note - the style name when I go into CSS formatting does not have the leading "1").
    Also note, if I use the Increase Indent option when working in a topic on the NBullet styled paragraph, the Level 2 bullet list format is applied. I HAVE NEVER and WILL NEVER use the Increase or Decrease Indent functionality (either in Word or RoboHTML).
    All of my CSS styles match the naming convention used in my Word template - making it easier to push content back and forth between Word and RoboHTML.
    =============
    My approach may be non-standard and may not be within the spirit of this functionality, but it works for me and I get the formatting I need.
    One last note on the comment of the "sluggishness of the product" for x8 - I had the same problem and then I applied the two patches that were made available. The difference in the response time was VERY noticeable in a GOOD way. Search for and apply both fixes to RoboHTML x8 and you will see a pronounced difference. I also got my boss to approve ordering a new PC and now there is not sluggishness at all in the performance.
    Thanks to all --
    Michael F Weart

  • How can I add a new Template to My Templates in Pages? I've read most of the discussions on the subject but it doesn't work for me. By the time I reach the Templates folder, I only see templates for Numbers and not for Pages. Need help, please.  Thanks

    How can I add a new Template to My Templates in Pages? I've read most of the discussions on the subject but it doesn't work for me. By the time I reach the Templates folder, I only see templates for Numbers and not for Pages. Need help, please.  Thanks

    Si vous avez utilisé la commande Save As Template depuis Pages, il y a forcément un dossier
    iWork > Pages
    contenant Templates > My Templates
    comme il y a un dossier
    iWork > Numbers
    contenant Templates > My Templates
    Depuis le Finder, tapez cmd + f
    puis configurez la recherche comme sur cette recopie d'écran.
    puis lancez la recherche.
    Ainsi, vous allez trouver vos modèles personnalisés dans leur dossier.
    Chez moi, il y en a une kyrielle en dehors des dossiers standards parce que je renomme wxcvb.template quasiment tous mes documents Pages et wxcvb.nmbtemplate à peu près tous mes documents Numbers.
    Ainsi, quand je travaille sur un document, je ne suis pas ralenti par Autosave.
    Désolé mais je ne répondrai plus avant demain.
    Pour moi il est temps de dormir.
    Yvan KOENIG (VALLAURIS, France)  mercredi 23 janvier 2011 22:39:28
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2
    My iDisk is : <http://public.me.com/koenigyvan>
    Please : Search for questions similar to your own before submitting them to the community

  • Stop the Numbers and Letter Lists!

    My wife is going crazy - please help me. She has to copy and paste questions into a blank pages doc, answer the questions then submit the completed document. The problem is that Question 1 is numbered as such and when she goes to type the answer, her answer is then number 2. It happens with part a, b , c as well always wanting to continue the list. I thought I read that you simply double return and it stops, but this is not working, nor is turning off "automatically detect lists" in preferences. How do you stop the numbering and lettering lists please?

    Thanks Peter - unfortunately that's what I found in the help menu's and it doesn't work. The more I press return the more the list keeps going, c,d,e,f,g etc. I also selected none in the lists menu, but it seemed to have no effect. Is this because the document was pasted from a word to a pages? I wonder.

  • I have the original IPAD, otherwise known as planned obsolescence.  I have been getting update notices for Numbers and Pages but no matter what I do cannot get the update.   Finally today it says my IPad is not compatible?

    I have an original IPAD, which I am beginning to call "Planned Obselescence"  I am constantly notified when opening Numbers and Pages that I have an update.  However, when I try to update it wil not allow it.  It tells me to go to ITunes, which I have done, and still it will not download it, saying that my IPAD is not compatible.   All of this if fine if Apple wishes to do things this way, but I just want to stop being notified every time to update it, if I am not going to be allowed to do so.

    ghrickel wrote:
    I have an original IPAD, which I am beginning to call "Planned Obselescence"  I am constantly notified when opening Numbers and Pages that I have an update.  However, when I try to update it wil not allow it.  It tells me to go to ITunes, which I have done, and still it will not download it, saying that my IPAD is not compatible.  
    The updates for Numbers and Pages are perfectly compatible with the iPad 1. I'm not sure what you are doing; perhaps a better explanation of what you are seeing is needed.

  • Why does Mobile Data notification keep coming up saying 'Mobile Data is turned off for "Numbers" and I have to click on OK to get rid of it? I KNOW it's turned off for that program because that is what I want it to be set at. What I DON'T want is to have

    Why does Mobile Data notification keep coming up saying 'Mobile Data is turned off for "Numbers" and I have to click on OK to get rid of it? I KNOW it's turned off for that program because that is what I want it to be set at. What I DON'T want is to have to click on OK EVERY TIME I open the program when I'm away from wifi.

    That is how it works in general, not just for Numbers. It irritates me on other apps at times, although I can see an argument that if it didn't do that then people would complain about missing functionality after they forgot they had turned data off for an app. At any rate, this is a user to user support forum and we can't do anything about it. If you want to make a suggestion to Apple, following is a place to do that: http://www.apple.com/feedback/

  • Outlines in Word Processor, numbers and bullets don't mix?

    I'm writing a meeting adenga in an outline form. I want the main topics to be numbered, sub-topics to be bulleted, and sub-subtopics to have diamond bullets.
    For some reason, the following (as an example) happens. I've created a list of 7 main topics. I add subtopics to topic # 5, which are by default also numbered instead of bulleted. As soon as I change the label style on these subtopics to bullets, topic # 6 is re-labeled # 1, topic # 7 becomes # 2, etc.
    I need to make my sub-topics bulleted without affecting the numbering of the main topics. What's happening?

    When you add a label (eg. Number) to a paragraph, you are setting a Style for that paragraph. The Style is inherited by subseqent paragraphs until a new style is set.
    When you change the label, you are resetting the Style of the selected paragraph(s). This change breaks the chain of 'subsequent paragraphs', and the count is reset.
    Rather than a Paragraph style (such as Number or Bullet), you could use one of the three Outline styles (Harvard, Diamond, or Legal) which do allow marking subtopics without affecting the numbering of the main topic list. Unfortunately, none of the three will give the topic marking pattern you want.
    You can get (almost) what you want by not creating new 'paragraphs', and by manually inserting the bullets and diamonds.
    AppleWorks considers every return character to mark the end of a paragraph, and any character following a return (other than another return, and probably a small set of other characters) to be the first character of a new paragraph.
    To start a new line without starting a new 'paragraph', use a line feed (soft return), made by pressing shift-return.
    Follow the shift-return with a tab to indent the subtopic, then option-8 for the bullet.
    For the second level of subtopics, use shift-return, tab, tab, shift-option-V.
    Regards,
    Barry

  • Assign Scheme for Numbers in Legal Control not appering in number schemes

    Hi,
    Assing Scheme for numbers in legal control level is not appearing in Assign Numbering Schemes to legal  Regulations of the application at number schems. Please check attached screen shot.
    Thanks and Regards,
    Alihamed.sa

    Hi Alihamed,
    Maybe that feature wasn't included in the early GTS 10.0 shipment?  You really ought to apply the Support Packages (SP19 is now available).
    But take a look in table VCLSTRUC (using Transaction SE16), and see what entries you find with VCLNAME = /SAPSLL/VC_CTS_LGREG.  The one you're interested in is PREDOBJECT = /SAPSLL/V_TLU9LD.  If it's not already assigned, see if it's available in the drop-down list.
    If that entry is available, you could try adding it to the assignments, and see if that solves the problem.
    Otherwise you should still be able to configure by adding entries to view /SAPSLL/V_TLU9LD using Transaction SM30.
    Hope that helps.
    Regards,
    Dave

  • Styles for graphs and charts?

    Hello,
    I am trying to find out if there is a way to save a graph style, as you would do a paragraph style. This is mainly due to the fact that I need to create about 250 charts in illustrator, and I would really appreciate if I could automate some of the graph or chart creation process, as where I could define a style and then just apply it, meaning the colors, position, size, and font.
    What do you guys think? How would you approach it?
    I'm even having a hard time making the graphs look the way I want them to.
    Thanks in advance for any input you can give me.

    Enrique:
    So where can I learn the right way to convert my excel data to XML that Variables will accept, and also about your script, could it be adapted to create the Data Sets for the graphs? And if so, is it available for download or  purchase?
    I'm afraid I don't really know how to massage an XML file into what Illustrator wants. I've done a little reading about XML, but it bores me to death, seems quite cumbersome, and I've yet to have any real need for it. So far, every time I thought I might need it, I've worked the solution more directly in FileMaker.
    If I remember correctly, in my dinking around with XML, I found that FileMaker could export XML that InDesign could deal with unaltered; but not Illustrator.
    Especially given that all your Graphs require the same number and arrangements of values, though, I would think an ordinary manual find/replace routine in a text editor should do in your case:
    Use the first set of values from one of your Excel files to build the first graph.
    Bind the Graph as a Variable. Capture its DataSet.
    Edit the Data from the second spreadsheet in the Graph Data Dialog. Capture its DataSet.
    Now you have a Variable Graph, with two DataSets. Export the DataSets as a Variables Library.
    Open the Variables Library in a text editor. You can see how the two DataSets are structured and tagged. That should be fairly easy to use as a guide for a few Find/Replace routines in Word or some other text editor Copy/Paste the data from the various spreadsheets. Then use Find/Replace to semi-automate the addition of the XML tags. When done, Copy all that and paste it into place in the Variables Library you exported. Reimport the edited Library into AI.
    All things considered, though, that's probably as much work as simply right-clicking the Graph, select Data from the cursor menu, Click the Import Data button in the Data Dialog, and selecting the next spreadsheet in the folder. Export as PDF. Repeat. If you decided to do that, you could at least have a couple of Actions to invoke the DataDialog, and to Save A Copy as PDF. That would at least reduce those operations to a single click each.
    Although I haven't time to try it right now, I do suspect it would be a fairly simple scripting task to adapt my VFTROU script to generate DataSets for a Graph.
    Finally, though: Your graph sample doesn't appear to be graphics intensive at all. Why not just make the graphs in Excel and export to PDFs that you can place in InDesign? I'm wondering why you feel you need Illustrator involved in this at all.
    JET

  • Using Global Style for DatagridHeader and DataGridColumn

    Can someone tell me how to apply Globalstyles for the datagrid header and datagrid columns.
    I placed css styles in my lib project in defaults.css (as followed in   adobe material).
    I am refering this style in my projects in datagrid headers headerStyleName="SomeStyleNamefromCSS". Similarly how should I specify the styles for DataGridColumn in a Global CSS file (defults.css).Because I dont want to set style seperately in all of my projects.
    Also does the DatagridColumns inherit the styles from headerStyle of the Datagrid and how to deal with it in CSS files. I am using Flex 4.1
    Any suggestions on this is very much appreciated

    The headers pick up styles from headerStyleName, but the renderers don't.
    Anything set on the DG should get picked up by all headers and renderers,
    but you can also make a custom renderer and a type selector for it.

  • RTL and Hebrew support for numbers and pages? when will we have the option for that?

    Still, after 4 years of IOS, there isnt even one sodtware that supports RTL and Hebrew\Arabic, is there a chance that in the near near future we will see that support in "Numbers" and in "Pages"?
    Thanks...

    The best place to make your request is (make sure you give details about exactly what is not working right):
    http://www.apple.com/feedback/pages_ios.html

  • Xml SQL Utility for java and Dr.Watson for WIN-NT

    hello everybody.
    when i am running the sample code in xml Sql utility for java documentation,
    Dr. watson for windows NT error occures.
    what may be the problem? please suggest a solution
    thanks
    dev

    Set JDK_HOME to the directory where you install your JDK (Java Development Kit).
    So instance, I've install JDK1.1.8 on my
    C drive so
    set JDK_HOME=c:\jdk1.1.8;c:\jdk1.1.8\bin

  • Changing Styles for Numbering

    I am using RoboHelp HTML Version 8
    When I select the "create a numbered list" button. The number appears in a different font from the text. I selected Format/Styles/Normal, but I don't see how to change it.
    thanks

    Hi,
    With the Normal style, you set the font of the paragraph and not of the list. If you do not style the list, the browser will return to the default. The easiest things to do (in my opinion ) are:
    - Create a list style and apply it to eacht list: Right click | Bullets and Numbering | Custom | Pick your custom style.
    - If you always want a list to use a standard font, open your style sheet in an external editor and add the following code:
         OL, UL { font-family: Arial; }
         Change Arial to the name of the font you want to use.
    Note: If you use a font with spaces in the name, such as Courier New, place the name between quotes: font-family: "Courier New";
    Note: As an 'extra' you can add any other standard styling to all your lists by adding more styling between the brackets.
    Greet,
    Willam

  • Where is the doc for xml task options for deploy and ojdeploy-build ?

    I am a new user.
    I tried using jdev help to find my answer, but got lost quickly in the zillions of manuals.
    1) Where is the manual/doc for the xml task attributes/options for the Ant tags <deploy> and <ojdeploy-build>?
    I am modifying an xml script that ojdeploy will call, but do not know what attributes/options are supported for these tags. I need to know whether an option such as failonerror exists, so that I can report a bug that <deploy> does not default to fail on error (or that <ojdeploy-build> ignores the error and continues with the script.
    Followup questions:
    2) How do I find the java code that implements the tags <deploy> and <ojdeploy-build>?
    3) How do I report a bug on the implementation for these tags and propose a fix (assuming I can see the java source code)?

    I guess I wasn't clear enough. What I tried to say was:
    1) Where is the manual/doc for the xml task attributes/options [I meant to say attributes/elements] for the Ant tags [I meant to say tasks] <deploy> and <ojdeploy-build>?
    I did not mean the ojdeploy command, but the Ant tasks <ojdeploy-build> and <deploy>.
    The jdev help does not seem to provide the complete list of elements or attributes for these critical Ant tasks, though it has a few examples.
    So far, it appears that <deploy> has been misdesigned and I cannot do what I want, which is to "failonerror" (failonerror="true" should be the default but the opposite is true and there is no attribute to change the setting).
    You could consider this to be a bad flaw in Ant itself, that you cannot get the exit code from every Ant task (since they are java programs they do have an exit code), so when new tasks are implemented by folks who lack experience they may leave out access to this programming feature that is however implemented for a bunch of important core Ant tasks such as "java" or "exec". It would have been far more useful to make this a generic feature of all Ant tasks. Of course then folks would be asking for stuff like "fail if" or "fail unless" and where would it end? Maybe with a real programming language like TCL but in XML form.

Maybe you are looking for